package com.yimi.yinhepda.entity.response;

import com.yimi.yinhepda.db.table.UCDeptTable;

import java.util.List;

/**
 * @author: lj
 * Date: 2019/9/28 13:38
 * Description: 查询优速网点数据响应实体
 */
public class QueryUCDeptDataResponse {

    /**
     * symbol : RESULT_SYMBOL
     * data : {"pageSize":2,"totalRecord":4903,"currentPage":1,"totalPage":2452,"records":[{"orgId":10100419,"cmsOrgId":10000498,"orgCode":"1101","orgName":"北京一区","orgNameTw":"北京一区","orgNameEn":"北京一区","namePy":"beijingyiqu","nameSpy":"bjyq","orgType":30,"parentOrg":10000044,"operateCenter":10000044,"financeCenter":10045959,"accOrg":10000498,"currency":1,"status":9901,"orgProperty":2,"remark":"test啦啦啦啦","deleteFlag":0,"version":1,"createOrg":0,"createTime":"2017-06-27T13:15:00Z","updateEmp":"019706","updateOrg":1111,"updateTime":"2019-04-16T01:34:44Z","statusUpdateDesc":"已启用","statusUpdateTime":"2019-04-15T16:00:00Z","baseOrgCode":"UC005416","operateCenterCode":"UC000057","financeCenterCode":"UC018727","accOrgCode":"UC005416","parentOrgCode":"UC000057","orgFullCode":"UC000142,UC000143,UC000057,UC005416,","syncTime":"2019-04-16T01:34:44Z","testFlag":false},{"orgId":10100166,"cmsOrgId":10004441,"orgCode":"6401","orgName":"宁夏一区","orgNameTw":"宁夏一区","orgNameEn":"宁夏一区","namePy":"ningxiayiqu","nameSpy":"nxyq","orgType":30,"parentOrg":10014533,"operateCenter":10014533,"financeCenter":10000030,"accOrg":10004441,"currency":1,"status":9901,"deleteFlag":0,"version":1,"createOrg":0,"createTime":"2016-01-01T02:00:00Z","updateEmp":"总部杜名鑫","updateOrg":10000000,"updateTime":"2013-12-20T20:49:37Z","baseOrgCode":"UC005163","operateCenterCode":"UC011823","financeCenterCode":"UC000172","accOrgCode":"UC005163","parentOrgCode":"UC011823","orgFullCode":"UC000142,UC000172,UC011823,UC005163,","syncTime":"2017-09-18T05:24:10Z","testFlag":false}],"recordIndex":0,"recordStart":1,"recordEnd":2}
     * success : true
     */

    private String symbol;
    private DataBean data;
    private boolean success;

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * pageSize : 2
         * totalRecord : 4903
         * currentPage : 1
         * totalPage : 2452
         * records : [{"orgId":10100419,"cmsOrgId":10000498,"orgCode":"1101","orgName":"北京一区","orgNameTw":"北京一区","orgNameEn":"北京一区","namePy":"beijingyiqu","nameSpy":"bjyq","orgType":30,"parentOrg":10000044,"operateCenter":10000044,"financeCenter":10045959,"accOrg":10000498,"currency":1,"status":9901,"orgProperty":2,"remark":"test啦啦啦啦","deleteFlag":0,"version":1,"createOrg":0,"createTime":"2017-06-27T13:15:00Z","updateEmp":"019706","updateOrg":1111,"updateTime":"2019-04-16T01:34:44Z","statusUpdateDesc":"已启用","statusUpdateTime":"2019-04-15T16:00:00Z","baseOrgCode":"UC005416","operateCenterCode":"UC000057","financeCenterCode":"UC018727","accOrgCode":"UC005416","parentOrgCode":"UC000057","orgFullCode":"UC000142,UC000143,UC000057,UC005416,","syncTime":"2019-04-16T01:34:44Z","testFlag":false},{"orgId":10100166,"cmsOrgId":10004441,"orgCode":"6401","orgName":"宁夏一区","orgNameTw":"宁夏一区","orgNameEn":"宁夏一区","namePy":"ningxiayiqu","nameSpy":"nxyq","orgType":30,"parentOrg":10014533,"operateCenter":10014533,"financeCenter":10000030,"accOrg":10004441,"currency":1,"status":9901,"deleteFlag":0,"version":1,"createOrg":0,"createTime":"2016-01-01T02:00:00Z","updateEmp":"总部杜名鑫","updateOrg":10000000,"updateTime":"2013-12-20T20:49:37Z","baseOrgCode":"UC005163","operateCenterCode":"UC011823","financeCenterCode":"UC000172","accOrgCode":"UC005163","parentOrgCode":"UC011823","orgFullCode":"UC000142,UC000172,UC011823,UC005163,","syncTime":"2017-09-18T05:24:10Z","testFlag":false}]
         * recordIndex : 0
         * recordStart : 1
         * recordEnd : 2
         */

        private int pageSize;
        private int totalRecord;
        private int currentPage;
        private int totalPage;
        private int recordIndex;
        private int recordStart;
        private int recordEnd;
        private List<UCDeptTable> records;

        public DataBean() {
        }

        public List<UCDeptTable> getRecords() {
            return records;
        }
        public void setRecords(List<UCDeptTable> records) {
            this.records = records;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalRecord() {
            return totalRecord;
        }

        public void setTotalRecord(int totalRecord) {
            this.totalRecord = totalRecord;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getRecordIndex() {
            return recordIndex;
        }

        public void setRecordIndex(int recordIndex) {
            this.recordIndex = recordIndex;
        }

        public int getRecordStart() {
            return recordStart;
        }

        public void setRecordStart(int recordStart) {
            this.recordStart = recordStart;
        }

        public int getRecordEnd() {
            return recordEnd;
        }

        public void setRecordEnd(int recordEnd) {
            this.recordEnd = recordEnd;
        }
    }
}
